<?php
function debug_log( $log )
{
    if ( config( 'SERVER_LOG_ALONE' ) ) {
        echo $log;
        echo "<br>";
    }
}

function debug_var_dump( $var )
{
    if ( config( 'SERVER_LOG_ALONE' ) ) {
        var_dump( $var );
        echo "<br>";
    }
}

function debug_print_r( $var )
{
    if ( config( 'SERVER_LOG_ALONE' ) ) {
        print_r( $var );
        echo "<br>";
    }
}
?>